package com.ccc.oa.user.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * --- 代码敲对！ ---
 *
 * @author CCCccc
 * @create 2025/10/10
 * 备注：登录参数实体类
 */
@Data
public class LoginParam {
    // 该注解用于验证参数是否为空
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    private String password;
}
